package com.wf.service;

import com.wf.domain.User;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @author mpk
 * @since 2024/8/20 21:09:11
 */
public interface UserService {
    User saveUser(User user);

    User updateProfilePic(Long id, MultipartFile pic);

    boolean deleteUser(Long id);

    List<User> findUsersByNameContaining(String name);
}
